/**
 * 
 */
package neptune.web.client.model;

import java.util.ArrayList;

import neptune.web.client.model.topology.SerializableOperativeSystem;
import neptune.web.client.model.topology.SerializableSoftware;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Roberto Bifulco [RobertoBifulco.it] [info@robertoBifulco.it]
 * 
 */
public class SerializableVmTemplate implements IsSerializable {

	private String id;
	private SerializableOperativeSystem os;
	private ArrayList<SerializableSoftware> sws = new ArrayList<SerializableSoftware>(
			0);
	private int port;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the os
	 */
	public SerializableOperativeSystem getOs() {
		return os;
	}

	/**
	 * @param os
	 *            the os to set
	 */
	public void setOs(SerializableOperativeSystem os) {
		this.os = os;
	}

	/**
	 * @return the sws
	 */
	public ArrayList<SerializableSoftware> getSws() {
		return sws;
	}

	/**
	 * @param sws
	 *            the sws to set
	 */
	public void setSws(ArrayList<SerializableSoftware> sws) {
		this.sws = sws;
	}

	/**
	 * @return the port
	 */
	public int getControlPort() {
		return port;
	}

	/**
	 * @param port
	 *            the port to set
	 */
	public void setControlPort(int port) {
		this.port = port;
	}

}
